Finding the shortest paths by node combination

نویسندگان

  • Xin Lu
  • Martin Camitz
چکیده

By repeatedly combining the source node's nearest neighbor, we propose a node combination (NC) method to implement the Dijkstra's algorithm. The NC algorithm finds the shortest paths with three simple iterative steps: find the nearest neighbor of the source node, combine that node with the source node, and modify the weights on edges that connect to the nearest neighbor. The NC algorithm is more comprehensible and convenient for programming as there is no need to maintain a set with the nodes' distances. Experimental evaluations on various networks reveal that the NC algorithm is as efficient as Dijkstra's algorithm. As the whole process of the NC algorithm can be implemented with vectors, we also show how to find the shortest paths on a weight matrix. } is the set of nodes, E = {e ij j if there is a link from v i to v j } is the set of edges and W = {w ij j 1 6 i, j 6 N} is the weight matrix for E. Given two nodes v s , v t of G, the shortest path problem can be defined as how to find a path with the minimum sum of the weights on the edges in a v s , v t-path. Generally, v s and v t are called source node and sink node, respectively. The shortest path problem is one of the most fundamental network optimization problems with widespread applications [1–4]. Among the various shortest path algorithms developed [5–12], Dijkstra's algorithm is probably the most well-known. It maintains a set S of solved nodes, comprising those nodes whose final shortest path distance from the source v s has determined, and labels d(i), storing the upper bound of the shortest path distance from v s to v i. The algorithm repeatedly selects the node v k 2 VnS with the minimum d(i), adds v k to S, and updates d(i) for nodes that are incident to v k Step 1. Select a node v k from Q such that dðv k Þ ¼ min v j 2Q dðv j Þ, if d(v k) = 1, stop, otherwise go to Step 2. Step 3. for every v j 2 Q, update d(v j) = min{d(v j), d(v k) + w kj }. Go to Step 1. In practice, Dijkstra's algorithm relies heavily on the strategies used to select the next minimum labeled …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Multi - Terminal Shortest Paths

The present paper gives an algorithm that finds simultaneously the shortest paths between many pairs of nodes in a given network. In the book by Berge, the values of shortest paths between many pairs of nodes are found. Here, we use a special matrix multiplication technique to find the actual arcs that are used to form the shortest paths. In a network with n nodes, log [n-l] special matrix mult...

متن کامل

Finding the Shortest Path in Dynamic Network using Labeling Algorithm

This study concerns the problem of finding shortest paths from one node to all other nodes in networks for which arc costs can vary with time, each arc has a transit time and parking with a corresponding time-varying cost is allowed at the nodes. it show that this problem is equivalent to a classical shortest path problem in a timeexpanded network. The label correcting algorithm is used for fin...

متن کامل

Fast Shortest Paths Algorithms in the Presence of Few Negative Arcs

The shortest paths problem on weighted directed graphs is one of the basic network optimization problems. Its importance is mainly due to its applications in various areas, such as communication and transportation. Given a source node s in a weighted directed graph G, with n nodes and m arcs, the single-source shortest path problem (SSSP, for short) from s is the problem of finding the minimum ...

متن کامل

Statistically Significant Spatial Network Activity Summarization Project Proposal

The problem is really important due to its important societal application [3, 4]. The KMR problem has already been proven useful in situations like disaster response, crime analysis and other disastrous events [1]. Spatial Network Activity Summarization has only considered the problem of finding shortest paths. KMR also considers shortest path along with maximum coverage by using Node pruning t...

متن کامل

On Independently Finding Converging Paths in Internet

Two shortest paths P (u, v) and P ′(v, u) are called converging paths if path P (u, v) is exactly the reversal of path P ′(v, u). Independently finding two converging paths from node u and node v, so that a message from u to v is bound to meet a message from v to u, is not trivial even if both nodes have the correct and complete network link state information. This paper presents three differen...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Applied Mathematics and Computation

دوره 217  شماره 

صفحات  -

تاریخ انتشار 2011